package cn.edu.xjtu.nbrash.xbarsuite;

public final class RashIntents {
	public static final class Image {

		/**
		 * 通过设置这个ACTION来调用系统裁剪图片的功能
		 */
		public static final String ACTION_CROP = "com.android.camera.action.CROP";

		/**
		 * Content type image
		 */
		public static final String TYPE_IMAGE = "image/*";
	}

	public static final class FloatButton {

		/**
		 * FloatButton的标识，通过它来唯一创建、获得FloatButton
		 */
		public static final String FLOAT_BUTTON_FLAG = "cn.edu.xjtu.nbrash.xbarsuite.FloatButton";

		/**
		 * FloatButton配置文件名
		 */
		public static final String FLOAT_BUTTON_PREFERENCES = "_float_button_preferences";

		/**
		 * FloatButton配置属性 坐标X
		 */
		public static final String FLOAT_BUTTON_POSITION_X = "FLOAT_BUTTON_POSITION_X";

		/**
		 * FloatButton配置属性 坐标Y
		 */
		public static final String FLOAT_BUTTON_POSITION_Y = "FLOAT_BUTTON_POSITION_Y";

		/**
		 * FloatButton配置属性 透明度ALPHA
		 */
		public static final String FLOAT_BUTTON_ALPHA = "FLOAT_BUTTON_ALPHA";

		/**
		 * FloatButton配置属性 透明度ALPHA的值
		 */
		public static final float DEFAULT_FLOAT_BUTTON_ALPHA = 0.4F;

		/**
		 * FloatButton配置属性 是否开启
		 */
		public static final String FLOAT_BUTTON_PERMISSION = "FLOAT_BUTTON_PERMISSION";
		public static final boolean FLOAT_BUTTON_PERMISSION_DEFAULT = true;
		public static final boolean FLOAT_BUTTON_PERMISSION_ALLOWED = true;
		public static final boolean FLOAT_BUTTON_PERMISSION_DENIED = false;

		/**
		 * FloatButton Being Killed
		 */
		public static final String FLOAT_BUTTON_KILLED = "cn.edu.xjtu.nbrash.xbarsuite.FBKilled";
	}

	public static final class Result {
		/**
		 * Result
		 */
		public static final String EXTRA_RESULT = "cn.edu.xjtu.nbrash.xbarsuite.Result";
	}

	public static final class Scan {
		/**
		 * 预设短信，扫描发送
		 */
		public static final String ACTION_PRE_SMS = "cn.edu.xjtu.nbrash.xbarsuit.PreSMS";

		/**
		 * 预设短信
		 */
		public static final String EXTRA_PRE_SMS = "cn.edu.xjtu.nbrash.xbarsuit.PreSMS";
	}

	/**
	 * 预设短信数据库
	 */
	public static final class PreSMS {
		public static final String PRE_SMS_DATABASE = "_pre_sms_database.db3";
	}
}
